/*
 * @Description: 断言
 * @Author: rendc
 * @Date: 2025-08-18 14:44:23
 * @LastEditors: rendc
 * @LastEditTime: 2025-08-18 14:48:01
 */

public class Test05 {

  public static void main(String[] args) {
    test(10);
  }

  public static void test(int num) {
    assert num != 0 : "num不能为0";
    int c = 10 / num;
    System.out.println("c:" + c);
  }
}